package cn.qzzg.pojo;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 样本人员表
 *
 * @TableName samples_personnel
 */
@TableName(value = "samples_personnel")
@Data
@Accessors(chain = true)
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public class SamplesPersonnel implements Serializable {
    /**
     * ID
     */
    @TableId(value = "samples_personnel_id", type = IdType.AUTO)
    private Integer samplesPersonnelId;

    /**
     * 试管ID
     */
    @TableField(value = "test_tube_id")
    private String testTubeId;

    /**
     * 姓名
     */
    @TableField(value = "name")
    private String name;

    /**
     * 民族
     */
    @TableField(value = "nation")
    private String nation;

    /**
     * 身份证号
     */
    @TableField(value = "id_card")
    private String idCard;

    /**
     * 电话
     */
    @TableField(value = "mobile")
    private String mobile;

    /**
     * 住址
     */
    @TableField(value = "address")
    private String address;

    /**
     * 创建时间
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 状态
     */
    @TableField(value = "status", fill = FieldFill.INSERT)
    private Integer status;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}